        <table id="sellerTable" class="table table-striped table-hover table-condensed table-bordered">
            <thead>
            <tr>
                <th>Server</th><th>Name</th><th>Gold</th><th>G/24h</th><th>Last Seen</th>
            </tr>
            </thead>
            <tbody>
    {% set total = 0 %}
    {% for s in sellers %}
        {% set char = s["char"] %}
            <a href=''>
            <tr  {% if char.isOnline() %}  class="success" {% endif %}> 
                <td>{{char.server.name}}</td>
                <td>{{char.name}}</td>
                <td style="text-align: right">{{char.gold|number_format(0,',','.') }}</td>
                <td style="text-align: right">{{s["delta"]|number_format(0,',','.') }}</td>
                {% set hours = char.timeLastSeen() / (60*60) %}
                {% set min = (char.timeLastSeen() % (60*60)) / 60 %} 
                <td style="text-align: right">{{ hours | number_format(0)}}h{{ min | number_format(0)}}m</td>
                <td><a href="{{ path('character_edit', { 'id': char.id }) }}"><li class="icon-edit pull-right"></li></td>

            </tr>
            </a>
            {% set total = total + char.gold %}
    {% else %}
        <p>There are no characters in the DB</p>
    {% endfor %}
</tbody>
        <tr>
            <td><b>Total</b></td>
            <td></td>
            <td style="text-align: right"><b>{{ total|number_format(0,',','.') }}</b></td>
            <td></td>
        </tr>
</table>
